﻿using System;
using System.Xml.Linq;

namespace Elderos.Articles
{
    [Serializable]
    public class Article
    {
        public int ID { get; set; }
        public int ReutersID { get; set; }
        public DateTime Date { get; set; }
        public string Title { get; set; }
        public string Headline { get; set; }
        public string DateLine { get; set; }
        public string Body { get; set; }
        public string Copyright { get; set; }
        public bool HasIdealHighlight { get; set; }

        public XDocument Highlight { get; set; }

        public XDocument IdealHighlight { get; set; }

        public int QueueNumber { get; set; } 

        public string ToHighlightableString()
        {
            return Title + "\r\n" + Body;
        }
    }
}